<!DOCTYPE html>
<html>
	<head>
	 	<meta name="package-mapping" content="u:org.opencms.ui" />
	  	<meta name="package-mapping" content="o:org.opencms.ui.components" />
	  	<meta name="package-mapping" content="f:org.opencms.ui.components.fileselect" />
	  	<meta name="package-mapping" content="p:org.opencms.ui.dialogs.permissions" />
	</head>
	<body>
		<o-cms-basic-dialog>
			<content>
				<vaadin7-vertical-layout :center margin spacing>
					<v-panel caption="%(key.GUI_PROJECTS_IDENTIFICATION_0)" height="275px">
						<v-form-layout margin spacing style-name="o-formlayout-workplace-main">
							<vaadin7-text-field _id="m_fieldName" width="100%" caption="%(key.GUI_PROJECTS_NAME_0)" description="%(key.GUI_PROJECTS_NAME_HELP_0)" required requiredError="%(key.GUI_PROJECTS_NAME_VALIDATION_0)" />
							<vaadin7-text-field _id="m_fieldDescription" width="100%" caption="%(key.GUI_PROJECTS_DESCRIPTION_0)" description="%(key.GUI_PROJECTS_DESCRIPTION_HELP_0)"/>
							<p-cms-principal-select _id="m_fieldManager" width="100%" caption="%(key.GUI_PROJECTS_MANAGER_GROUP_0)" description="%(key.GUI_PROJECTS_MANAGER_GROUP_HELP_0)" required requiredError="%(key.GUI_PROJECTS_MANAGER_GROUP_VALIDATION_0)"/>
							<p-cms-principal-select _id="m_fieldUser" width="100%" caption="%(key.GUI_PROJECTS_USER_GROUP_0)" description="%(key.GUI_PROJECTS_USER_GROUP_HELP_0)" required requiredError="%(key.GUI_PROJECTS_USER_GROUP_VALIDATION_0)"/>
							<vaadin7-text-field _id="m_fieldOU" width="100%" caption="%(key.GUI_PROJECTS_ORG_UNIT_0)" description="%(key.GUI_PROJECTS_ORG_UNIT_HELP_0)"/>
							<vaadin7-check-box _id="m_fieldDeleteAfterPublish" caption="%(key.GUI_PROJECTS_DELETE_AFTER_PUBLISH_0)" description="%(key.GUI_PROJECTS_DELETE_AFTER_PUBLISH_HELP_0)" />
						</v-form-layout>
					</v-panel>
					<v-panel caption="%(key.GUI_PROJECTS_RESOURCES_0)" height="100%" :expand>
						<v-form-layout _id="m_resources" margin spacing style-name="o-formlayout-workplace-main">
							<v-button _id="m_addResource" style-name="o-button-plain">%(key.GUI_PROJECTS_ADD_RESOURCE_0)</v-button>
						</v-form-layout>
					</v-panel>
				</vaadin7-vertical-layout>
			</content>
			<buttons>
				<v-button _id="m_ok" >%(key.GUI_DIALOG_BUTTON_OK_0)</v-button>
				<v-button _id="m_cancel" >%(key.GUI_DIALOG_BUTTON_CANCEL_0)</v-button>
			</buttons>
		</o-cms-basic-dialog>
	</body>
</html>